package com.ueboot.weishop.service.role;

import com.ueboot.weishop.entity.role.Resources;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Set;

/**
 * Created by Neel on 2017/9/20.
 */
public interface ResourcesService {
    Page<Resources> findBy(Pageable pageable);

    Resources save(Resources s);

    Resources get(Long id);

    void delete(Long[] ids);

    void delete(Long id);

    Resources[] getUserResources(String username);


}
